//
//  TuanGou.m
//  MyTest
//
//  Created by zhiyou on 16-4-20.
//  Copyright (c) 2016年 wangyang. All rights reserved.
//

#import "TuanGou.h"

@implementation TuanGou
- (id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        _title = [dic objectForKey:@"title"];
        _price = [dic objectForKey:@"price"];
        _original_price = [dic objectForKey:@"original_price"];
        _attend_count = [dic objectForKey:@"attend_count"];
        _discount = [dic objectForKey:@"discount"];
        _img_path = [dic objectForKey:@"img_path"];
    }
    return self;
}
@end
